package com.hyt.it.ogt.kq.service.gov.model.vo.admission;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hyt.it.ogt.kq.service.model.entity.admission.ExamineeInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @program: it-ogt-kw-gov
 * @description: 考生信息分页VO
 * @author: Yang HuanKun
 * @create: 2023-02-03 11:21
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "考生信息分页VO", description = "考生信息分页VO")
public class ExamineeInfoPageVO extends ExamineeInfo {

    /**
     * 考生批次信息ID
     */
    @ApiModelProperty(value = "考生批次信息ID")
    private String examineeTimeId;

    /**
     * 科目id
     */
    @ApiModelProperty(value = "批次id")
    private String timeId;

    /**
     * 科目名称
     */
    @ApiModelProperty(value = "批次名称")
    private String timeName;

    @ApiModelProperty(value = "科目名称")
    private String subjectName;

    @ApiModelProperty(value = "考试时间")
    private String examTime;

    /**
     * 准考证生成时间
     */
    @ApiModelProperty(value = "准考证生成时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime generateData;

    /**
     * 生成状态
     */
    @ApiModelProperty(value = "生成状态")
    private Boolean generateStatus;

    /**
     * 准考证图片
     */
    @ApiModelProperty(value = "准考证图片")
    private String admissionTicketImgUrl;

    /**
     * 准考证pdf
     */
    @ApiModelProperty(value = "准考证pdf")
    private String admissionTicketPdfUrl;
}
